import request from '@/utils/request'
// 查询试验项配置分页信息
export const gettabledatalistapi = params => request.get('pio-microservice-biz/pio/trial-project/page', { params })
// 保存试验项配置
export const postaddandputapi = data => request.post('pio-microservice-biz/pio/trial-project/save', data)
// 删除试验项配置
export const postdellistapi = data => request.post(`pio-microservice-biz/pio/trial-project/delete?id=${data.id}`)
// 初始化单位试验项配置（复制）
export const postchushihuaapi=data=>request.post(`pio-microservice-biz/pio/trial-project/init?orgNo=${data.orgNo}&templateOrgNo=${data.templateOrgNo}`)